package com.dl7.mvp.music.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by smartisan_os on 18-4-12.
 */

public class MusicBean {
    /**
     * record : {"audios":[{"id":5759,"name":"小苹果","image":"http://img5g22.ergedd.com/audio/5759_20170413112330_mcj9.png","resource":"http://aud3ip5.ergedd.com/audio/5759_20170418181235_nlf9.mp3","lrc_file_url":"http://aud3ip5.ergedd.com/lrc/5759_1497346605985.lrc","play_count":47759404,"age_type":1,"copyright_type":0,"copyright_name":"网友上传","singer":"","authorize":2,"status":1,"min_age":0,"max_age":8,"duration":211.40898},{"id":5756,"name":"大王叫我来巡山","image":"http://img5g22.ergedd.com/audio/5756_20170413112330_ozqx.png","resource":"http://aud3ip5.ergedd.com/audio/5756_20170418181234_qc9e.mp3","lrc_file_url":"http://aud3ip5.ergedd.com/lrc/48387830575_1497436159704.lrc","play_count":21314594,"age_type":1,"copyright_type":0,"copyright_name":"网友上传","singer":"","authorize":2,"status":1,"min_age":0,"max_age":8,"duration":221.492245},{"id":1338,"name":"宝贝去哪儿","image":"http://img5g22.ergedd.com/audio/1338_20170413112122_2wff.png","resource":"http://aud3ip5.ergedd.com/audio/1338_20170418180558_mu7e.mp3","lrc_file_url":"http://aud3ip5.ergedd.com/lrc/62040886173_1497437431722.lrc","play_count":11892587,"age_type":1,"copyright_type":0,"copyright_name":"网友上传","singer":"叶一茜,kimi,王诗龄","authorize":2,"status":1,"min_age":0,"max_age":8,"duration":195.448163},{"id":2139,"name":"爸爸去哪呀","image":"http://img5g22.ergedd.com/audio/2139_20170413112206_zaz2.png","resource":"http://aud3ip5.ergedd.com/audio/2139_20170418180848_xlma.mp3","lrc_file_url":"http://aud3ip5.ergedd.com/lrc/38463736026_1497437492859.lrc","play_count":10747785,"age_type":1,"copyright_type":0,"copyright_name":"网友上传","singer":"张雅淇","authorize":2,"status":1,"min_age":0,"max_age":8,"duration":124.891429},{"id":1989,"name":"江南style","image":"http://img5g22.ergedd.com/audio/1989_20170413112152_n98m.png","resource":"http://aud3ip5.ergedd.com/audio/1989_20170418180754_crl1.mp3","lrc_file_url":"http://aud3ip5.ergedd.com/lrc/46952301405_1498402222365.lrc","play_count":11010201,"age_type":1,"copyright_type":0,"copyright_name":"网友上传","singer":"兔小贝儿歌","authorize":2,"status":1,"min_age":0,"max_age":8,"duration":219.36},{"id":4457,"name":"吉祥三宝","image":"http://img5g22.ergedd.com/audio/4457_20170413112303_sjlt.png","resource":"http://aud3ip5.ergedd.com/audio/4457_20170418181103_hiwf.mp3","lrc_file_url":"http://aud3ip5.ergedd.com/lrc/46505544082_1497437508213.lrc","play_count":8458494,"age_type":1,"copyright_type":0,"copyright_name":"网友上传","singer":"","authorize":2,"status":1,"min_age":0,"max_age":8,"duration":209.893878},{"id":4166,"name":"爱出发","image":"http://img5g22.ergedd.com/audio/4166_20170413112300_gkta.png","resource":"http://aud3ip5.ergedd.com/audio/4166_20170418181058_avvl.mp3","lrc_file_url":"http://aud3ip5.ergedd.com/lrc/71177113574_1497520570611.lrc","play_count":7401485,"age_type":1,"copyright_type":0,"copyright_name":"网友上传","singer":"TFBOYS","authorize":2,"status":1,"min_age":0,"max_age":8,"duration":225.9069},{"id":1565,"name":"虫儿飞","image":"http://img5g22.ergedd.com/audio/1565_20170413112132_0ccr.png","resource":"http://aud3ip5.ergedd.com/audio/1565_20170418180628_mu1k.mp3","lrc_file_url":"http://aud3ip5.ergedd.com/lrc/53596765092_1497512268612.lrc","play_count":9826802,"age_type":1,"copyright_type":0,"copyright_name":"网友上传","singer":"郑伊健","authorize":2,"status":1,"min_age":0,"max_age":8,"duration":99.892245},{"id":3290,"name":"健康快乐动起来","image":"http://img5g22.ergedd.com/audio/3290_20170413112251_unqw.png","resource":"http://aud3ip5.ergedd.com/audio/3290_20170418181026_hvr8.mp3","lrc_file_url":"http://aud3ip5.ergedd.com/lrc/93439347155_1497520598597.lrc","play_count":6721310,"age_type":1,"copyright_type":0,"copyright_name":"网友上传","singer":"香香","authorize":2,"status":1,"min_age":0,"max_age":8,"duration":177.162425},{"id":3304,"name":"青春修炼手册","image":"http://img5g22.ergedd.com/audio/3304_20170413112253_wdww.png","resource":"http://aud3ip5.ergedd.com/audio/3304_20170418181033_7xzk.mp3","lrc_file_url":"http://aud3ip5.ergedd.com/lrc/93349039151_1497520557985.lrc","play_count":8220301,"age_type":1,"copyright_type":0,"copyright_name":"网友上传","singer":"TFBOYS","authorize":2,"status":1,"min_age":0,"max_age":8,"duration":263.1314},{"id":1505,"name":"爸爸去哪儿","image":"http://img5g22.ergedd.com/audio/1505_20170413112130_n628.png","resource":"http://aud3ip5.ergedd.com/audio/1505_20170418180619_jsrs.mp3","lrc_file_url":"http://aud3ip5.ergedd.com/lrc/92728090803_1497949156681.lrc","play_count":6521221,"age_type":1,"copyright_type":0,"copyright_name":"网友上传","singer":"林志颖,郭涛,Kimi","authorize":2,"status":1,"min_age":0,"max_age":8,"duration":273.057959},{"id":3295,"name":"快乐出发","image":"http://img5g22.ergedd.com/audio/3295_20170413112251_vygf.png","resource":"http://aud3ip5.ergedd.com/audio/3295_20170418181029_uxof.mp3","lrc_file_url":"http://aud3ip5.ergedd.com/lrc/47981475458_1497949731260.lrc","play_count":8491498,"age_type":1,"copyright_type":0,"copyright_name":"网友上传","singer":"李宇春,张杰,苏醒","authorize":2,"status":1,"min_age":0,"max_age":8,"duration":194.56},{"id":1433,"name":"我爱洗澡","image":"http://img5g22.ergedd.com/audio/1433_20170413112125_l2ah.png","resource":"http://aud3ip5.ergedd.com/audio/1433_20170418180608_bjbr.mp3","lrc_file_url":"http://aud3ip5.ergedd.com/lrc/6190765234_1497843049476.lrc","play_count":10334993,"age_type":1,"copyright_type":0,"copyright_name":"网友上传","singer":"范晓萱","authorize":2,"status":1,"min_age":0,"max_age":8,"duration":170.266122},{"id":1270,"name":"健康歌","image":"http://img5g22.ergedd.com/audio/1270_20170413112121_m3ah.png","resource":"http://aud3ip5.ergedd.com/audio/1270_20170418180554_v5hc.mp3","lrc_file_url":"http://aud3ip5.ergedd.com/lrc/2719995008_1497948866042.lrc","play_count":10947134,"age_type":1,"copyright_type":0,"copyright_name":"网友上传","singer":"范晓萱","authorize":2,"status":1,"min_age":0,"max_age":8,"duration":178.886531},{"id":3010,"name":"大家一起喜羊羊","image":"http://img5g22.ergedd.com/audio/3010_20170413112234_pevw.png","resource":"http://aud3ip5.ergedd.com/audio/3010_20170418180943_yhi1.mp3","lrc_file_url":"http://aud3ip5.ergedd.com/lrc/78734168167_1497843108651.lrc","play_count":4680445,"age_type":1,"copyright_type":0,"copyright_name":"网友上传","singer":"周笔畅","authorize":2,"status":1,"min_age":0,"max_age":8,"duration":210.755918}]}
     * status : 200
     * messages : {"succeed":[""]}
     */

    @SerializedName("record")
    private RecordBean record;
    @SerializedName("status")
    private int status;
    @SerializedName("messages")
    private MessagesBean messages;

    public RecordBean getRecord() {
        return record;
    }

    public void setRecord(RecordBean record) {
        this.record = record;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public MessagesBean getMessages() {
        return messages;
    }

    public void setMessages(MessagesBean messages) {
        this.messages = messages;
    }

    public static class RecordBean {
        @SerializedName("audios")
        private List<AudiosBean> audios;

        public List<AudiosBean> getAudios() {
            return audios;
        }

        public void setAudios(List<AudiosBean> audios) {
            this.audios = audios;
        }

        public static class AudiosBean {
            /**
             * id : 5759
             * name : 小苹果
             * image : http://img5g22.ergedd.com/audio/5759_20170413112330_mcj9.png
             * resource : http://aud3ip5.ergedd.com/audio/5759_20170418181235_nlf9.mp3
             * lrc_file_url : http://aud3ip5.ergedd.com/lrc/5759_1497346605985.lrc
             * play_count : 47759404
             * age_type : 1
             * copyright_type : 0
             * copyright_name : 网友上传
             * singer :
             * authorize : 2
             * status : 1
             * min_age : 0
             * max_age : 8
             * duration : 211.40898
             */

            @SerializedName("id")
            private int id;
            @SerializedName("name")
            private String name;
            @SerializedName("image")
            private String image;
            @SerializedName("resource")
            private String resource;
            @SerializedName("lrc_file_url")
            private String lrcFileUrl;
            @SerializedName("play_count")
            private int playCount;
            @SerializedName("age_type")
            private int ageType;
            @SerializedName("copyright_type")
            private int copyrightType;
            @SerializedName("copyright_name")
            private String copyrightName;
            @SerializedName("singer")
            private String singer;
            @SerializedName("authorize")
            private int authorize;
            @SerializedName("status")
            private int status;
            @SerializedName("min_age")
            private int minAge;
            @SerializedName("max_age")
            private int maxAge;
            @SerializedName("duration")
            private double duration;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getResource() {
                return resource;
            }

            public void setResource(String resource) {
                this.resource = resource;
            }

            public String getLrcFileUrl() {
                return lrcFileUrl;
            }

            public void setLrcFileUrl(String lrcFileUrl) {
                this.lrcFileUrl = lrcFileUrl;
            }

            public int getPlayCount() {
                return playCount;
            }

            public void setPlayCount(int playCount) {
                this.playCount = playCount;
            }

            public int getAgeType() {
                return ageType;
            }

            public void setAgeType(int ageType) {
                this.ageType = ageType;
            }

            public int getCopyrightType() {
                return copyrightType;
            }

            public void setCopyrightType(int copyrightType) {
                this.copyrightType = copyrightType;
            }

            public String getCopyrightName() {
                return copyrightName;
            }

            public void setCopyrightName(String copyrightName) {
                this.copyrightName = copyrightName;
            }

            public String getSinger() {
                return singer;
            }

            public void setSinger(String singer) {
                this.singer = singer;
            }

            public int getAuthorize() {
                return authorize;
            }

            public void setAuthorize(int authorize) {
                this.authorize = authorize;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getMinAge() {
                return minAge;
            }

            public void setMinAge(int minAge) {
                this.minAge = minAge;
            }

            public int getMaxAge() {
                return maxAge;
            }

            public void setMaxAge(int maxAge) {
                this.maxAge = maxAge;
            }

            public double getDuration() {
                return duration;
            }

            public void setDuration(double duration) {
                this.duration = duration;
            }
        }
    }

    public static class MessagesBean {
        @SerializedName("succeed")
        private List<String> succeed;

        public List<String> getSucceed() {
            return succeed;
        }

        public void setSucceed(List<String> succeed) {
            this.succeed = succeed;
        }
    }
}
